Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elvia/elvis-typography

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elvia/elvis-typography

Elvia typography

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

Elvia typography

Available typography reflect the typography classes availabe at https://design.elvia.io/brand/typography

Usage SCSS

Insert at top of your scss file :

  • @use '@elvia/elvis-typography/src/elviaTypography.scss';

Remember to also import the correct typographies from the Google font api. If you are using the @elvia/elvis package you don't have to do this, because they are already imported there.

Usage Typescript/Javascript

To use this package you can import the function getTypography(). It takes the name of the requested typography as input, and returns the typography's attributes if it exists.

  • import { getTypography } from '@elvia/elvis-typography';
  • const typography = getTypography('text-md');

Maintaining

Remember to update all three elviaTypography files (js, json and scss), when adding a new typography or updating an existing typography.

FAQs

Package last updated on 09 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc